package com.ktjy.Dao.impl;


import com.ktjy.factory.IntermediaryCglibproxyFactory;
import com.ktjy.factory.IntermediaryJdkproxyFactory;
import org.apache.log4j.Logger;
import org.junit.jupiter.api.Test;

public class havealookCglibProxy {
    private Logger logger= Logger.getLogger(havealookCglibProxy.class);
    @Test
    public void havealookCglibProxy() throws Exception{
        RealBuyer buyer= IntermediaryCglibproxyFactory.create(RealBuyer.class);
        String result=buyer.havealook();
        logger.debug(result);
    }
}
